01. Introduction

Introduction to Functional Programming

ND079 JPND C2 L01 A01 Functional Programming In Java V3

In this lesson, you'll learn about the basics of functional programming in Java.

An understanding of functional programming is a very useful tool to have on your belt as a developer. It will allow to think differently about how you write your code. In certain situations, it will make your code easier to write, easier to read, and it can sometimes even make your code faster.

Here are some topics covered in this lesson:

  • Comparing and contrasting imperative and functional programming styles, and understanding when one style might be preferrable over the other.
  • Using functional interfaces and lambdas to create shorter, easier-to-read Java code.
  • Using the Stream API to process data and aggregate the results into Java collections.